package com.yuelan.apartment.domain;

import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableLogic;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.fasterxml.jackson.databind.ser.std.ToStringSerializer;
import com.yuelan.apartment.common.ApaEntity;
import com.yuelan.common.core.domain.BaseEntity;
import lombok.Data;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;

/**
 * @description: 房租信息
 * @Author: ZhaoYi
 * @date: 24-5-23 9:10
 */

@TableName("apa_room")
@Data
public class ApaRoom extends ApaEntity {

    private static final long serialVersionUID = 1L;

    /**
     * id
     */
    @JsonSerialize(using = ToStringSerializer.class)
    @TableId
    private Long id;

    /**
     * 房间号
     */
    private String roomNum;

    /**
     * 房源id
     */
    private Long apartmentId;

    /**
     * 租户id
     */
    private Long tenantId;

    /**
     * 租金
     */
    private BigDecimal rent;

    /**
     * 房间状态（未支付、已支付、逾期）
     */
    private String status;

    /**
     * 房间类型
     */
    private String type;

    /**
     * 房间面积
     */
    private String area;

    /**
     * 家具
     */
    private String furniture;

}
